package com.rcloud.server.sealtalk.domain;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 参数配置表 sys_config
 *
 * @author zcck
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "sys_config")
public class SysConfig {
    private static final long serialVersionUID = 1L;

    /**
     * 参数主键
     */
    @Id
    @Column(name = "config_id")
    @GeneratedValue(generator = "JDBC")
    private Long configId;

    /**
     * 参数名称
     */
    @Column(name = "config_name")
    private String configName;

    /**
     * 参数键名
     */
    @Column(name = "config_key")
    private String configKey;

    /**
     * 参数键值
     */
    @Column(name = "config_value")
    private String configValue;
}
